<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/common/taglibs.jsp" %>
<fmt:message key="menu_calendar2_label1" var="menu_calendar2_label1"/>

<c:if test="${issenior}">
<form name="queryAdv1" method="post">
<jodd:form bean="request">
	<c:forEach items="${param}" var="p">
		<c:if test="${p.key!='userid'}">
			<input type="hidden" name="${p.key}">
		</c:if>
	</c:forEach>
</jodd:form>
</form>

<br>
<TABLE class=leftColumnModuleHead cellSpacing=0 cellPadding=0 width="100%" border=0 valign="top">
 <TBODY>
  <TR>
    <TH class="menu_title_left" width=48>&nbsp;</TH>
    <TH class="menu_title_middle">${menu_calendar2_label1}</TH>
	<th width="48" align="right" class="menu_title_right"></th>
  </TR>
 </TBODY>
</TABLE>
<TABLE class=subMenu cellSpacing=0 cellPadding=0 width="100%" border=0>
	  <TBODY>	
<c:forEach items="${users}" var="user">
	<TR>
	    <TD class=subMenuTDIcon 
	    style="BACKGROUND-IMAGE: url(../../themes/${sessionScope.loginUser.theme}/images/createBg.gif); BACKGROUND-REPEAT: repeat-y" 
	    width=16>
	      <ff:user username="${user.name}" userid="${user.id}" loginid="${user.loginid}" sex="${user.sex}" lastaction="${user.lastaction}"/>
	      </TD>
	    
      <TD class=subMenuTD id=submenu_calendar2Folderinbox 
	    onmouseover="this.style.background='#C9D7E9';this.style.cursor='hand';" 
	    onmouseout="this.style.background='#ffffff';this.style.cursor='auto';" 
	    noWrap>&nbsp;<A class=subMenuLink style="color:${param.userid==user.id?'red':''}"
	      href="javascript:queryAdv1.action='<c:url value="/modules/calendar2/calendar2.do?userid=${user.id}"/>';queryAdv1.submit();">${user.name}</A></TD>
    </TR>

</c:forEach>

	  </TBODY>
</TABLE>

</c:if>